<include file="Public:header" />
<style>
    html,body{ background: #eee;}
</style>
<section class="panel-default">

    <header class="panel-heading bg-info lt no-border">
        <div class="clearfix">
            <a href="#" class="pull-left thumb-md avatar b-3x m-r">
                <img src="{$result.headimgurl}" class="img-circle"> </a>
            <div class="clear m-t">
                <div class="h4 m-t text-white">{$result.nickname}</div>
                <div class="m-t-xs"><small class="text-white h5">性别：<if condition="$result.sex eq 1">男<elseif condition="$result.sex eq 2"/>女<else/>未知</if></small></div>
            </div>
        </div>
    </header>

    <div class="list-group no-radius alt ">
        <div class="list-group-item row">
            <div class="col-xs-5"><i class="fa fa-user text-info"></i> 姓名：</div>
            <div class="col-xs-7 no-padder">{$result.username}</div>
        </div>
        <div class="list-group-item row">
            <div class="col-xs-5"><i class="fa fa-phone text-info"></i> 电话：</div>
            <div class="col-xs-7 no-padder">{$result.mobile_phone}</div>
        </div>
        <div class="list-group-item row">
            <div class="col-xs-5"><i class="fa fa-compass text-info"></i> 所属区域：</div>
            <div class="col-xs-7 no-padder">{$result.area_name}</div>
        </div>
        <div class="list-group-item row">
            <div class="col-xs-5"><i class="fa fa-building-o text-info"></i> 公司名称：</div>
            <div class="col-xs-7 no-padder">{$result.company_name}</div>
        </div>

        <div class="list-group-item row">
            <div class="col-xs-5"><i class="fa fa-map-marker text-info"> </i> 详细地址：</div>
            <div class="col-xs-7 no-padder">{$result.company_address}</div>
        </div>
    </div>

    <div class="list-group">
        <a href="{:U('ClientServer/orderInquire')}" class="list-group-item m-t panel-body text-center">
            <i class="fa fa-bar-chart-o text-primary"></i> 我的订单
        </a>
        <a href="{:U('ClientServer/placeAnOrder')}" class="list-group-item m-t panel-body text-center">
            <i class="fa fa-edit text-primary"></i> 我要下单
        </a>
        <a href="{:U('Wap/outLogin')}" class="list-group-item m-t panel-body text-center">
            <i class="fa fa-sign-out text-primary"></i> 退出登录
        </a>
    </div>

</section>
<include file="Public:footer" />
<script>
    $(function(){
        var imgW=$('.thumb-md img').width();
        $('.thumb-md img').css('height',imgW);
    })
</script>